const fs=require("fs");

let str="我是一个粉刷匠粉刷本领强"


const writeStream=fs.createWriteStream("./www/1.html")

writeStream.write(str)

// 标记文件末尾触发finish
writeStream.end()

writeStream.on("finish",function(){
    console.log("写入完成")
})
